Places user location Class
Inplace text editor tool to edit the content or attribute of a stream
Constructor
Places user location
(
-
[$options]
-
[$options.updateButton="Update
Parameters:
-
[$options]
Array optionalused to pass options
-
[meters]
Array optionalarray of { meters: title } pairs, by default is generated from Places/nearby/meters config
-
[defaultMeters]
Array optionaloverride the key in the meters array to select by default. Defaults to "Places/nearby/defaultMeters" config
-
[units]
String optionalsecond parameter to pass to Places::distanceLabel()
-
[map]
Array optionaloptions for the map
-
[delay=300]
Integer optionalhow many milliseconds to delay showing the map, e.g. because the container is animating -
[prompt="img/map.png"]
String optionalThe src of the map graphical prompt when no location has been selected yet
-
-
[onUpdate]
String optionalname an event handler for when the location is updated
-
[onUnset]
String optionalname an event handler for when the location is unset
-
-
[$options.updateButton="Update
Stringmy location"] the title of the update button